/ Celestin Apprentice 2
/ Apprentice-Release2.iso / Tools / Languages / Mops 2.5 / Mops source.sit / Mops source / Toolbox classes / Window+ ![]() | < prev |
MacBinary | 1994-05-11 | 4.4 KB | [TEXT/MSET] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Wed May 11 17:27:48 1994, modified Wed May 11 17:27:48 1994, creator 'MSET', type ASCII, 3904 bytes "Window+" , at 0xfc0 286 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MSET] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 57 69 6e 64 6f 77 | 2b 00 00 00 00 00 00 00 |..Window|+.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 53 45 | 54 01 00 00 00 00 00 00 |.TEXTMSE|T.......|
|00000050| 00 00 00 00 00 0f 40 00 | 00 01 1e a9 f6 fe 54 a9 |......@.|......T.|
|00000060| f6 fe 54 00 00 08 00 00 | 00 00 00 00 00 00 00 00 |..T.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 99 5a 00 00 |........|.....Z..|
|00000080| 5c 20 57 69 6e 64 6f 77 | 2b 20 63 6c 61 73 73 20 |\ Window|+ class |
|00000090| 2d 20 61 20 77 69 6e 64 | 6f 77 20 74 68 61 74 20 |- a wind|ow that |
|000000a0| 73 75 70 70 6f 72 74 73 | 20 76 69 65 77 73 2e 0d |supports| views..|
|000000b0| 0d 5c 20 4f 63 74 20 39 | 31 09 6d 72 68 09 49 6e |.\ Oct 9|1.mrh.In|
|000000c0| 69 74 69 61 6c 20 76 65 | 72 73 69 6f 6e 2e 0d 5c |itial ve|rsion..\|
|000000d0| 20 4d 61 79 20 39 32 09 | 6d 72 68 09 22 4e 65 77 | May 92.|mrh."New|
|000000e0| 2d 73 74 79 6c 65 22 20 | 63 6f 6e 74 72 6f 6c 73 |-style" |controls|
|000000f0| 0d 5c 20 46 65 62 20 39 | 33 09 6d 72 68 09 41 64 |.\ Feb 9|3.mrh.Ad|
|00000100| 64 65 64 20 73 65 6e 64 | 69 6e 67 20 69 64 6c 65 |ded send|ing idle|
|00000110| 3a 20 74 6f 20 74 68 65 | 20 63 6f 6e 74 56 69 65 |: to the| contVie|
|00000120| 77 0d 5c 20 53 65 70 74 | 20 39 33 09 6d 72 68 09 |w.\ Sept| 93.mrh.|
|00000130| 52 65 76 69 73 65 64 20 | 66 6f 72 20 43 6f 6e 74 |Revised |for Cont|
|00000140| 72 6f 6c 20 6e 6f 77 20 | 62 65 69 6e 67 20 61 20 |rol now |being a |
|00000150| 56 69 65 77 20 73 75 62 | 63 6c 61 73 73 2e 0d 0d |View sub|class...|
|00000160| 6e 65 65 64 09 76 69 65 | 77 0d 6e 65 65 64 09 73 |need.vie|w.need.s|
|00000170| 63 72 6f 6c 6c 65 72 0d | 0d 72 65 63 74 09 61 52 |croller.|.rect.aR|
|00000180| 65 63 74 0d 0d 3a 63 6c | 61 73 73 09 57 49 4e 44 |ect..:cl|ass.WIND|
|00000190| 4f 57 2b 20 20 73 75 70 | 65 72 7b 20 77 69 6e 64 |OW+ sup|er{ wind|
|000001a0| 6f 77 20 7d 0d 72 65 63 | 6f 72 64 0d 7b 09 70 74 |ow }.rec|ord.{.pt|
|000001b0| 72 09 09 5e 43 4f 4e 54 | 56 49 45 57 09 09 5c 20 |r..^CONT|VIEW..\ |
|000001c0| 50 6f 69 6e 74 73 20 74 | 6f 20 76 69 65 77 20 63 |Points t|o view c|
|000001d0| 6f 6e 73 69 73 74 69 6e | 67 20 6f 66 20 63 6f 6e |onsistin|g of con|
|000001e0| 74 65 6e 74 73 20 72 65 | 63 74 2e 0d 09 62 6f 6f |tents re|ct...boo|
|000001f0| 6c 09 5a 4f 4f 4d 46 4c | 47 0d 7d 0d 0d 70 72 69 |l.ZOOMFL|G.}..pri|
|00000200| 76 61 74 65 0d 0d 3a 6d | 20 53 65 74 43 6f 6e 74 |vate..:m| SetCont|
|00000210| 56 69 65 77 42 6f 75 6e | 64 73 3a 20 20 7b 20 5c |ViewBoun|ds: { \|
|00000220| 20 6c 20 74 20 72 20 62 | 20 2d 2d 20 7d 0d 09 67 | l t r b| -- }..g|
|00000230| 65 74 52 65 63 74 3a 20 | 73 75 70 65 72 20 20 2d |etRect: |super -|
|00000240| 3e 20 62 20 2d 3e 20 72 | 20 2d 3e 20 74 20 2d 3e |> b -> r| -> t ->|
|00000250| 20 6c 0d 09 6c 20 74 20 | 72 20 31 2b 20 62 20 31 | l..l t |r 1+ b 1|
|00000260| 2b 20 20 73 65 74 42 6f | 75 6e 64 73 3a 20 5b 20 |+ setBo|unds: [ |
|00000270| 67 65 74 3a 20 5e 63 6f | 6e 74 56 69 65 77 20 5d |get: ^co|ntView ]|
|00000280| 0d 09 6d 6f 76 65 64 3a | 20 5b 20 67 65 74 3a 20 |..moved:| [ get: |
|00000290| 5e 63 6f 6e 74 56 69 65 | 77 20 5d 0d 09 30 20 30 |^contVie|w ]..0 0|
|000002a0| 20 33 32 30 30 30 20 64 | 75 70 20 20 70 75 74 3a | 32000 d|up put:|
|000002b0| 20 74 65 6d 70 52 65 63 | 74 20 20 75 70 64 61 74 | tempRec|t updat|
|000002c0| 65 3a 20 74 65 6d 70 52 | 65 63 74 0d 3b 6d 0d 0d |e: tempR|ect.;m..|
|000002d0| 70 75 62 6c 69 63 0d 0d | 3a 6d 20 53 45 54 5a 4f |public..|:m SETZO|
|000002e0| 4f 4d 3a 09 09 5c 20 28 | 20 62 20 2d 2d 20 29 20 |OM:..\ (| b -- ) |
|000002f0| 20 50 61 73 73 65 64 2d | 69 6e 20 62 6f 6f 6c 65 | Passed-|in boole|
|00000300| 61 6e 20 69 6e 64 69 63 | 61 74 65 73 20 69 66 20 |an indic|ates if |
|00000310| 74 68 69 73 20 77 69 6e | 64 6f 77 0d 09 09 09 09 |this win|dow.....|
|00000320| 5c 09 09 77 69 6c 6c 20 | 62 65 20 20 7a 6f 6f 6d |\..will |be zoom|
|00000330| 61 62 6c 65 2e 0d 09 70 | 75 74 3a 20 7a 6f 6f 6d |able...p|ut: zoom|
|00000340| 46 6c 67 20 20 3b 6d 0d | 0d 3a 6d 20 53 45 54 56 |Flg ;m.|.:m SETV|
|00000350| 49 45 57 3a 20 20 7b 20 | 5e 76 69 65 77 20 2d 2d |IEW: { |^view --|
|00000360| 20 7d 0d 09 5e 76 69 65 | 77 20 20 70 75 74 3a 20 | }..^vie|w put: |
|00000370| 5e 63 6f 6e 74 56 69 65 | 77 20 20 5e 62 61 73 65 |^contVie|w ^base|
|00000380| 20 73 65 74 57 69 6e 64 | 6f 77 3a 20 5e 76 69 65 | setWind|ow: ^vie|
|00000390| 77 20 20 3b 6d 0d 0d 3a | 6d 20 47 45 54 56 49 45 |w ;m..:|m GETVIE|
|000003a0| 57 3a 09 67 65 74 3a 20 | 5e 63 6f 6e 74 56 69 65 |W:.get: |^contVie|
|000003b0| 77 20 20 3b 6d 0d 0d 0d | 3a 6d 20 4e 45 57 3a 20 |w ;m...|:m NEW: |
|000003c0| 20 7b 20 62 6e 64 73 52 | 65 63 74 20 74 41 64 64 | { bndsR|ect tAdd|
|000003d0| 72 20 74 4c 65 6e 20 70 | 72 6f 63 49 44 20 76 69 |r tLen p|rocID vi|
|000003e0| 73 20 67 6f 41 77 61 79 | 20 5e 76 69 65 77 20 5c |s goAway| ^view \|
|000003f0| 20 73 32 35 35 20 2d 2d | 20 7d 0d 09 67 65 74 3a | s255 --| }..get:|
|00000400| 20 61 6c 69 76 65 20 20 | 3f 45 58 49 54 09 09 09 | alive |?EXIT...|
|00000410| 09 09 09 5c 20 4f 75 74 | 20 69 66 20 61 6c 72 65 |...\ Out| if alre|
|00000420| 61 64 79 20 61 6c 69 76 | 65 0d 09 5e 76 69 65 77 |ady aliv|e..^view|
|00000430| 20 20 73 65 74 56 69 65 | 77 3a 20 73 65 6c 66 0d | setVie|w: self.|
|00000440| 09 3f 64 69 73 61 62 6c | 65 5f 61 63 74 57 3a 20 |.?disabl|e_actW: |
|00000450| 73 65 6c 66 0d 09 74 41 | 64 64 72 20 74 4c 65 6e |self..tA|ddr tLen|
|00000460| 20 20 73 74 72 32 35 35 | 20 20 2d 3e 20 73 32 35 | str255| -> s25|
|00000470| 35 0d 09 30 20 20 5e 62 | 61 73 65 20 20 62 6e 64 |5..0 ^b|ase bnd|
|00000480| 73 72 65 63 74 20 20 73 | 32 35 35 20 20 76 69 73 |srect s|255 vis|
|00000490| 20 54 62 6f 6f 6c 0d 09 | 67 65 74 3a 20 7a 6f 6f | Tbool..|get: zoo|
|000004a0| 6d 46 6c 67 20 20 38 20 | 61 6e 64 20 20 70 72 6f |mFlg 8 |and pro|
|000004b0| 63 49 44 20 2b 20 6d 61 | 6b 65 69 6e 74 0d 09 69 |cID + ma|keint..i|
|000004c0| 6e 46 72 6f 6e 74 20 20 | 67 6f 41 77 61 79 20 54 |nFront |goAway T|
|000004d0| 62 6f 6f 6c 20 20 30 0d | 09 63 61 6c 6c 20 4e 65 |bool 0.|.call Ne|
|000004e0| 77 57 69 6e 64 6f 77 20 | 20 64 72 6f 70 0d 09 69 |wWindow | drop..i|
|000004f0| 6e 69 74 4e 65 77 57 69 | 6e 64 6f 77 3a 20 73 65 |nitNewWi|ndow: se|
|00000500| 6c 66 0d 09 73 65 74 43 | 6f 6e 74 56 69 65 77 42 |lf..setC|ontViewB|
|00000510| 6f 75 6e 64 73 3a 20 73 | 65 6c 66 0d 09 6e 65 77 |ounds: s|elf..new|
|00000520| 3a 20 5b 20 67 65 74 3a | 20 5e 63 6f 6e 74 56 69 |: [ get:| ^contVi|
|00000530| 65 77 20 5d 09 09 09 09 | 09 5c 20 46 69 72 65 20 |ew ]....|.\ Fire |
|00000540| 75 70 20 76 69 65 77 20 | 6f 62 6a 65 63 74 0d 3b |up view |object.;|
|00000550| 6d 0d 0d 0d 3a 6d 20 47 | 45 54 4e 45 57 3a 20 20 |m...:m G|ETNEW: |
|00000560| 7b 20 72 65 73 49 44 20 | 5e 76 69 65 77 20 2d 2d |{ resID |^view --|
|00000570| 20 7d 0d 09 67 65 74 3a | 20 61 6c 69 76 65 20 20 | }..get:| alive |
|00000580| 3f 45 58 49 54 09 09 09 | 09 09 09 5c 20 4f 75 74 |?EXIT...|...\ Out|
|00000590| 20 69 66 20 61 6c 72 65 | 61 64 79 20 61 6c 69 76 | if alre|ady aliv|
|000005a0| 65 0d 09 5e 76 69 65 77 | 20 20 73 65 74 56 69 65 |e..^view| setVie|
|000005b0| 77 3a 20 73 65 6c 66 0d | 09 72 65 73 49 44 20 20 |w: self.|.resID |
|000005c0| 67 65 74 6e 65 77 3a 20 | 73 75 70 65 72 0d 09 73 |getnew: |super..s|
|000005d0| 65 74 43 6f 6e 74 56 69 | 65 77 42 6f 75 6e 64 73 |etContVi|ewBounds|
|000005e0| 3a 20 73 65 6c 66 0d 09 | 6e 65 77 3a 20 5b 20 67 |: self..|new: [ g|
|000005f0| 65 74 3a 20 5e 63 6f 6e | 74 56 69 65 77 20 5d 09 |et: ^con|tView ].|
|00000600| 09 09 09 09 5c 20 46 69 | 72 65 20 75 70 20 76 69 |....\ Fi|re up vi|
|00000610| 65 77 20 6f 62 6a 65 63 | 74 0d 3b 6d 0d 0d 0d 3a |ew objec|t.;m...:|
|00000620| 6d 20 47 52 4f 57 3a 0d | 09 67 72 6f 77 3a 20 73 |m GROW:.|.grow: s|
|00000630| 75 70 65 72 0d 09 73 65 | 74 43 6f 6e 74 56 69 65 |uper..se|tContVie|
|00000640| 77 42 6f 75 6e 64 73 3a | 20 73 65 6c 66 20 20 3b |wBounds:| self ;|
|00000650| 6d 0d 0d 3a 6d 20 5a 4f | 4f 4d 3a 0d 09 7a 6f 6f |m..:m ZO|OM:..zoo|
|00000660| 6d 3a 20 73 75 70 65 72 | 20 20 73 65 74 3a 20 73 |m: super| set: s|
|00000670| 75 70 65 72 0d 09 73 65 | 74 43 6f 6e 74 56 69 65 |uper..se|tContVie|
|00000680| 77 42 6f 75 6e 64 73 3a | 20 73 65 6c 66 20 20 3b |wBounds:| self ;|
|00000690| 6d 0d 0d 0d 3a 6d 20 45 | 4e 41 42 4c 45 3a 0d 09 |m...:m E|NABLE:..|
|000006a0| 65 6e 61 62 6c 65 3a 20 | 73 75 70 65 72 09 09 5c |enable: |super..\|
|000006b0| 20 4e 6f 74 65 20 2d 20 | 77 65 20 64 6f 20 74 68 | Note - |we do th|
|000006c0| 69 73 20 66 69 72 73 74 | 20 74 6f 20 6d 61 6b 65 |is first| to make|
|000006d0| 20 73 75 72 65 20 74 68 | 65 0d 09 09 09 09 09 09 | sure th|e.......|
|000006e0| 5c 20 63 75 72 72 65 6e | 74 20 67 72 61 66 50 6f |\ curren|t grafPo|
|000006f0| 72 74 20 69 73 20 73 65 | 74 20 62 65 66 6f 72 65 |rt is se|t before|
|00000700| 20 74 68 65 20 76 69 65 | 77 73 0d 09 09 09 09 09 | the vie|ws......|
|00000710| 09 5c 20 64 6f 20 61 6e | 79 74 68 69 6e 67 2e 0d |.\ do an|ything..|
|00000720| 09 67 65 74 3a 20 5e 63 | 6f 6e 74 56 69 65 77 20 |.get: ^c|ontView |
|00000730| 20 65 6e 61 62 6c 65 3a | 20 5b 5d 0d 3b 6d 0d 0d | enable:| [].;m..|
|00000740| 3a 6d 20 44 49 53 41 42 | 4c 45 3a 0d 09 67 65 74 |:m DISAB|LE:..get|
|00000750| 3a 20 5e 63 6f 6e 74 56 | 69 65 77 20 20 64 69 73 |: ^contV|iew dis|
|00000760| 61 62 6c 65 3a 20 5b 5d | 20 20 64 69 73 61 62 6c |able: []| disabl|
|00000770| 65 3a 20 73 75 70 65 72 | 0d 09 65 72 61 73 65 47 |e: super|..eraseG|
|00000780| 72 6f 77 3a 20 73 65 6c | 66 20 20 3b 6d 0d 0d 3a |row: sel|f ;m..:|
|00000790| 6d 20 28 44 52 41 57 29 | 3a 0d 09 28 64 72 61 77 |m (DRAW)|:..(draw|
|000007a0| 29 3a 20 73 75 70 65 72 | 0d 09 67 65 74 3a 20 5e |): super|..get: ^|
|000007b0| 63 6f 6e 74 76 69 65 77 | 20 20 64 72 61 77 3a 20 |contview| draw: |
|000007c0| 5b 5d 20 20 3b 6d 0d 0d | 3a 6d 20 44 52 41 57 3a |[] ;m..|:m DRAW:|
|000007d0| 09 28 64 72 61 77 29 3a | 20 73 65 6c 66 0d 09 09 |.(draw):| self...|
|000007e0| 09 28 20 6e 6f 63 6c 69 | 70 20 29 20 20 3b 6d 09 |.( nocli|p ) ;m.|
|000007f0| 09 5c 20 49 74 20 73 65 | 65 6d 73 20 74 68 61 74 |.\ It se|ems that|
|00000800| 20 77 68 65 6e 20 49 20 | 68 61 76 65 20 73 63 72 | when I |have scr|
|00000810| 6f 6c 6c 20 62 61 72 73 | 20 74 68 65 0d 09 09 09 |oll bars| the....|
|00000820| 09 09 09 09 5c 20 20 67 | 72 6f 77 20 69 63 6f 6e |....\ g|row icon|
|00000830| 20 67 65 74 73 20 63 6c | 69 70 70 65 64 20 6f 75 | gets cl|ipped ou|
|00000840| 74 20 75 6e 6c 65 73 73 | 20 49 20 63 61 6c 6c 0d |t unless| I call.|
|00000850| 09 09 09 09 09 09 09 5c | 20 20 6e 6f 43 6c 69 70 |.......\| noClip|
|00000860| 20 68 65 72 65 2e 20 20 | 28 54 68 65 20 63 61 6c | here. |(The cal|
|00000870| 6c 4c 61 73 74 20 72 6f | 75 74 69 6e 65 0d 09 09 |lLast ro|utine...|
|00000880| 09 09 09 09 09 5c 20 20 | 77 69 6e 64 75 70 44 72 |.....\ |windupDr|
|00000890| 61 77 3a 20 69 73 20 77 | 68 65 72 65 20 69 74 27 |aw: is w|here it'|
|000008a0| 73 20 61 63 74 75 61 6c | 6c 79 20 64 72 61 77 6e |s actual|ly drawn|
|000008b0| 29 2e 0d 0d 5c 20 49 44 | 4c 45 3a 20 63 61 6c 6c |)...\ ID|LE: call|
|000008c0| 73 20 49 44 4c 45 3a 20 | 6f 6e 20 74 68 65 20 63 |s IDLE: |on the c|
|000008d0| 6f 6e 74 56 69 65 77 20 | 28 77 68 69 63 68 20 77 |ontView |(which w|
|000008e0| 69 6c 6c 20 6c 65 61 64 | 20 74 6f 20 69 74 20 62 |ill lead| to it b|
|000008f0| 65 69 6e 67 20 63 61 6c | 6c 65 64 20 6f 6e 0d 5c |eing cal|led on.\|
|00000900| 20 61 6c 6c 20 76 69 65 | 77 73 29 2e 20 20 57 65 | all vie|ws). We|
|00000910| 20 65 6e 73 75 72 65 20 | 74 68 69 73 20 77 69 6e | ensure |this win|
|00000920| 64 6f 77 20 69 73 20 74 | 68 65 20 63 75 72 72 65 |dow is t|he curre|
|00000930| 6e 74 20 47 72 61 66 70 | 6f 72 74 2c 20 73 69 6e |nt Grafp|ort, sin|
|00000940| 63 65 20 74 68 65 20 76 | 69 65 77 73 0d 5c 20 6d |ce the v|iews.\ m|
|00000950| 69 67 68 74 20 77 61 6e | 74 20 74 6f 20 6c 6f 6f |ight wan|t to loo|
|00000960| 6b 20 61 74 20 74 68 65 | 20 6d 6f 75 73 65 20 70 |k at the| mouse p|
|00000970| 6f 73 69 74 69 6f 6e 20 | 69 6e 20 6c 6f 63 61 6c |osition |in local|
|00000980| 20 63 6f 6f 72 64 69 6e | 61 74 65 73 2e 0d 0d 3a | coordin|ates...:|
|00000990| 6d 20 49 44 4c 45 3a 09 | 69 64 6c 65 3a 20 73 75 |m IDLE:.|idle: su|
|000009a0| 70 65 72 0d 09 09 09 70 | 75 73 68 50 6f 72 74 20 |per....p|ushPort |
|000009b0| 20 73 65 74 3a 20 73 65 | 6c 66 0d 09 09 09 67 65 | set: se|lf....ge|
|000009c0| 74 3a 20 5e 63 6f 6e 74 | 56 69 65 77 20 20 69 64 |t: ^cont|View id|
|000009d0| 6c 65 3a 20 5b 5d 0d 09 | 09 09 70 6f 70 50 6f 72 |le: []..|..popPor|
|000009e0| 74 20 20 3b 6d 0d 0d 0d | 3a 6d 20 43 4c 4f 53 45 |t ;m...|:m CLOSE|
|000009f0| 3a 09 09 5c 20 44 69 73 | 70 6f 73 65 73 20 6f 66 |:..\ Dis|poses of|
|00000a00| 20 77 69 6e 64 6f 77 27 | 73 20 63 6f 6e 74 72 6f | window'|s contro|
|00000a10| 6c 73 20 61 6e 64 20 63 | 6c 6f 73 65 73 20 74 68 |ls and c|loses th|
|00000a20| 65 20 77 69 6e 64 6f 77 | 0d 09 67 65 74 3a 20 5e |e window|..get: ^|
|00000a30| 63 6f 6e 74 56 69 65 77 | 20 20 72 65 6c 65 61 73 |contView| releas|
|00000a40| 65 3a 20 2a 2a 0d 09 63 | 6c 6f 73 65 3a 20 73 75 |e: **..c|lose: su|
|00000a50| 70 65 72 20 20 3b 6d 0d | 0d 0d 3a 6d 20 43 4f 4e |per ;m.|..:m CON|
|00000a60| 54 45 4e 54 3a 09 09 5c | 20 48 61 6e 64 6c 65 73 |TENT:..\| Handles|
|00000a70| 20 61 20 63 6f 6e 74 65 | 6e 74 20 63 6c 69 63 6b | a conte|nt click|
|00000a80| 0d 09 61 63 74 69 76 65 | 3a 20 73 65 6c 66 0d 09 |..active|: self..|
|00000a90| 49 46 09 09 6e 6f 43 6c | 69 70 20 20 67 65 74 3a |IF..noCl|ip get:|
|00000aa0| 20 5e 63 6f 6e 74 56 69 | 65 77 20 20 63 6c 69 63 | ^contVi|ew clic|
|00000ab0| 6b 3a 20 2a 2a 20 20 64 | 72 6f 70 0d 09 45 4c 53 |k: ** d|rop..ELS|
|00000ac0| 45 09 73 65 6c 65 63 74 | 3a 20 73 65 6c 66 0d 09 |E.select|: self..|
|00000ad0| 54 48 45 4e 20 20 3b 6d | 0d 0d 0d 3a 6d 20 4b 45 |THEN ;m|...:m KE|
|00000ae0| 59 3a 09 09 5c 20 28 20 | 63 20 2d 2d 20 29 20 20 |Y:..\ ( |c -- ) |
|00000af0| 46 6f 72 20 74 79 70 65 | 64 20 6b 65 79 73 2c 20 |For type|d keys, |
|00000b00| 77 65 27 6c 6c 20 73 65 | 6e 64 20 61 20 4b 45 59 |we'll se|nd a KEY|
|00000b10| 3a 20 74 6f 20 74 68 65 | 0d 09 09 09 5c 20 63 6f |: to the|....\ co|
|00000b20| 6e 74 56 69 65 77 20 61 | 6e 64 20 74 68 75 73 20 |ntView a|nd thus |
|00000b30| 74 6f 20 61 6c 6c 20 74 | 68 65 20 76 69 65 77 73 |to all t|he views|
|00000b40| 2e 20 20 54 68 65 79 20 | 63 61 6e 20 64 6f 0d 09 |. They |can do..|
|00000b50| 09 09 5c 20 77 68 61 74 | 65 76 65 72 20 74 68 65 |..\ what|ever the|
|00000b60| 79 20 6c 69 6b 65 20 77 | 69 74 68 20 69 74 2e 0d |y like w|ith it..|
|00000b70| 09 67 65 74 3a 20 5e 63 | 6f 6e 74 56 69 65 77 20 |.get: ^c|ontView |
|00000b80| 20 6b 65 79 3a 20 2a 2a | 20 20 3b 6d 0d 09 0d 0d | key: **| ;m....|
|00000b90| 3a 6d 20 54 45 53 54 3a | 20 20 7b 20 5e 76 69 65 |:m TEST:| { ^vie|
|00000ba0| 77 20 2d 2d 20 7d 0d 09 | 73 63 72 65 65 6e 62 69 |w -- }..|screenbi|
|00000bb0| 74 73 20 74 72 75 65 20 | 73 65 74 47 72 6f 77 3a |ts true |setGrow:|
|00000bc0| 20 73 65 6c 66 0d 09 74 | 72 75 65 20 20 73 65 74 | self..t|rue set|
|00000bd0| 5a 6f 6f 6d 3a 20 73 65 | 6c 66 0d 09 31 30 30 20 |Zoom: se|lf..100 |
|00000be0| 31 30 30 20 34 30 30 20 | 32 30 30 20 70 75 74 3a |100 400 |200 put:|
|00000bf0| 20 61 52 65 63 74 09 09 | 5c 20 63 61 6e 27 74 20 | aRect..|\ can't |
|00000c00| 75 73 65 20 74 65 6d 70 | 52 65 63 74 20 2d 20 67 |use temp|Rect - g|
|00000c10| 65 74 73 20 63 6c 6f 62 | 62 65 72 65 64 0d 09 61 |ets clob|bered..a|
|00000c20| 52 65 63 74 20 20 22 20 | 54 65 73 74 22 20 20 64 |Rect " |Test" d|
|00000c30| 6f 63 57 69 6e 64 20 20 | 74 72 75 65 20 74 72 75 |ocWind |true tru|
|00000c40| 65 20 20 5e 76 69 65 77 | 20 20 6e 65 77 3a 20 73 |e ^view| new: s|
|00000c50| 65 6c 66 20 20 3b 6d 0d | 0d 3a 6d 20 54 45 53 54 |elf ;m.|.:m TEST|
|00000c60| 52 3a 20 20 7b 20 72 65 | 73 49 44 20 5e 76 69 65 |R: { re|sID ^vie|
|00000c70| 77 20 2d 2d 20 7d 0d 09 | 73 63 72 65 65 6e 62 69 |w -- }..|screenbi|
|00000c80| 74 73 20 74 72 75 65 20 | 73 65 74 47 72 6f 77 3a |ts true |setGrow:|
|00000c90| 20 73 65 6c 66 0d 09 74 | 72 75 65 20 20 73 65 74 | self..t|rue set|
|00000ca0| 5a 6f 6f 6d 3a 20 73 65 | 6c 66 0d 09 72 65 73 49 |Zoom: se|lf..resI|
|00000cb0| 44 20 5e 76 69 65 77 20 | 20 67 65 74 6e 65 77 3a |D ^view | getnew:|
|00000cc0| 20 73 65 6c 66 20 20 3b | 6d 0d 0d 3b 63 6c 61 73 | self ;|m..;clas|
|00000cd0| 73 0d 0d 0d 65 6e 64 6c | 6f 61 64 0d 0d 0d 5c 20 |s...endl|oad...\ |
|00000ce0| 54 45 53 54 49 4e 47 3a | 0d 0d 77 69 6e 64 6f 77 |TESTING:|..window|
|00000cf0| 2b 09 09 57 57 0d 73 63 | 72 6f 6c 6c 65 72 09 53 |+..WW.sc|roller.S|
|00000d00| 31 09 09 09 09 09 09 09 | 5c 20 54 68 69 73 20 77 |1.......|\ This w|
|00000d10| 69 6c 6c 20 62 65 20 74 | 68 65 20 63 6f 6e 74 76 |ill be t|he contv|
|00000d20| 69 65 77 20 6f 66 20 57 | 57 0d 73 63 72 6f 6c 6c |iew of W|W.scroll|
|00000d30| 65 72 09 53 32 09 09 09 | 09 09 09 09 5c 20 41 20 |er.S2...|....\ A |
|00000d40| 63 68 69 6c 64 20 6f 66 | 20 53 31 20 2d 20 61 6e |child of| S1 - an|
|00000d50| 6f 74 68 65 72 20 73 63 | 72 6f 6c 6c 65 72 21 0d |other sc|roller!.|
|00000d60| 09 09 09 32 30 20 32 30 | 20 20 31 35 30 20 32 30 |...20 20| 150 20|
|00000d70| 30 20 20 20 73 65 74 42 | 6f 75 6e 64 73 3a 20 73 |0 setB|ounds: s|
|00000d80| 32 0d 0d 76 69 65 77 09 | 09 56 56 09 09 09 09 09 |2..view.|.VV.....|
|00000d90| 09 09 5c 20 41 20 63 68 | 69 6c 64 20 6f 66 20 53 |..\ A ch|ild of S|
|00000da0| 32 0d 09 09 09 33 32 20 | 33 32 20 20 36 32 38 20 |2....32 |32 628 |
|00000db0| 33 32 38 20 20 73 65 74 | 42 6f 75 6e 64 73 3a 20 |328 set|Bounds: |
|00000dc0| 76 76 0d 0d 20 20 20 73 | 63 72 65 65 6e 62 69 74 |vv.. s|creenbit|
|00000dd0| 73 09 74 72 75 65 20 20 | 73 65 74 47 72 6f 77 3a |s.true |setGrow:|
|00000de0| 20 77 77 0d 09 09 09 09 | 74 72 75 65 20 20 73 65 | ww.....|true se|
|00000df0| 74 5a 6f 6f 6d 3a 20 77 | 77 0d 0d 3a 20 44 52 57 |tZoom: w|w..: DRW|
|00000e00| 20 20 7b 20 5c 20 6c 20 | 74 20 72 20 62 20 2d 2d | { \ l |t r b --|
|00000e10| 20 7d 09 09 5c 20 44 72 | 61 77 73 20 61 20 62 69 | }..\ Dr|aws a bi|
|00000e20| 67 20 58 20 61 63 72 6f | 73 73 20 74 68 65 20 76 |g X acro|ss the v|
|00000e30| 69 65 77 20 61 72 65 61 | 2e 0d 09 28 20 63 6c 65 |iew area|...( cle|
|00000e40| 61 72 3a 20 74 65 6d 70 | 72 65 63 74 20 29 20 20 |ar: temp|rect ) |
|00000e50| 67 65 74 3a 20 74 65 6d | 70 52 65 63 74 20 20 2d |get: tem|pRect -|
|00000e60| 3e 20 62 20 20 2d 3e 20 | 72 20 20 2d 3e 20 74 20 |> b -> |r -> t |
|00000e70| 20 2d 3e 20 6c 0d 09 30 | 20 30 20 67 6f 74 6f 78 | -> l..0| 0 gotox|
|00000e80| 79 20 20 72 20 62 20 70 | 61 63 6b 20 63 61 6c 6c |y r b p|ack call|
|00000e90| 20 4c 69 6e 65 54 6f 0d | 09 6c 20 62 20 67 6f 74 | LineTo.|.l b got|
|00000ea0| 6f 78 79 20 20 72 20 30 | 20 70 61 63 6b 20 63 61 |oxy r 0| pack ca|
|00000eb0| 6c 6c 20 4c 69 6e 65 54 | 6f 20 20 3b 0d 0d 27 20 |ll LineT|o ;..' |
|00000ec0| 64 72 77 20 20 73 65 74 | 44 72 61 77 3a 20 76 76 |drw set|Draw: vv|
|00000ed0| 0d 0d 0d 3a 20 43 4c 49 | 43 4b 31 09 09 2e 22 20 |...: CLI|CK1..." |
|00000ee0| 63 6c 69 63 6b 65 64 20 | 73 31 21 22 20 63 72 20 |clicked |s1!" cr |
|00000ef0| 20 3b 0d 3a 20 43 4c 49 | 43 4b 32 09 09 2e 22 20 | ;.: CLI|CK2..." |
|00000f00| 63 6c 69 63 6b 65 64 20 | 73 32 21 22 20 63 72 20 |clicked |s2!" cr |
|00000f10| 20 3b 0d 0d 27 20 63 6c | 69 63 6b 31 20 20 20 73 | ;..' cl|ick1 s|
|00000f20| 65 74 43 6c 69 63 6b 3a | 20 73 31 20 20 20 20 20 |etClick:| s1 |
|00000f30| 27 20 63 6c 69 63 6b 32 | 20 20 20 73 65 74 43 6c |' click2| setCl|
|00000f40| 69 63 6b 3a 20 73 32 0d | 0d 3a 20 47 4f 0d 09 76 |ick: s2.|.: GO..v|
|00000f50| 76 20 61 64 64 56 69 65 | 77 3a 20 73 32 20 20 73 |v addVie|w: s2 s|
|00000f60| 32 20 20 61 64 64 56 69 | 65 77 3a 20 73 31 0d 09 |2 addVi|ew: s1..|
|00000f70| 73 31 20 74 65 73 74 3a | 20 77 77 20 20 3b 0d 09 |s1 test:| ww ;..|
|00000f80| 0d 3a 20 47 4f 52 45 53 | 0d 09 76 76 20 61 64 64 |.: GORES|..vv add|
|00000f90| 56 69 65 77 3a 20 73 32 | 20 20 73 32 20 20 61 64 |View: s2| s2 ad|
|00000fa0| 64 56 69 65 77 3a 20 73 | 31 0d 09 32 35 36 20 73 |dView: s|1..256 s|
|00000fb0| 31 20 74 65 73 74 52 3a | 20 77 77 20 20 3b 0d 0d |1 testR:| ww ;..|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00001010| 75 6c 61 74 65 20 69 74 | 73 20 64 61 74 61 2c 20 |ulate it|s data, |
|00001020| 61 6c 6f 6e 67 20 77 69 | 74 68 20 69 6d 70 6c 65 |along wi|th imple|
|00001030| 07 57 69 6e 64 6f 77 2b | 02 00 00 00 50 61 72 74 |.Window+|....Part|
|00001040| 53 49 54 78 00 00 00 00 | 00 00 00 00 00 01 83 f0 |SITx....|........|
|00001050| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 ab 06 23 67 00 00 | 00 00 00 00 01 1e 09 31 |....#g..|.......1|
|00001080| 32 20 42 79 74 65 73 20 | 09 6e 61 6d 65 09 54 65 |2 Bytes |.name.Te|
|00001090| 78 74 20 6e 61 6d 65 20 | 6f 66 20 64 72 69 76 65 |xt name |of drive|
|000010a0| 72 2e 0d 09 31 32 20 42 | 79 74 65 73 20 09 68 65 |r...12 B|ytes .he|
|000010b0| 61 64 65 72 09 46 69 65 | 6c 64 73 20 66 6f 72 20 |ader.Fie|lds for |
|000010c0| 69 6e 74 65 72 6e 61 6c | 20 75 73 65 20 0d 09 56 |internal| use ..V|
|000010d0| 61 72 09 49 4f 43 6f 6d | 70 09 41 62 73 6f 6c 75 |ar.IOCom|p.Absolu|
|000010e0| 74 65 20 61 64 64 72 65 | 73 73 20 6f 66 20 49 4f |te addre|ss of IO|
|000010f0| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 50 52 4f 43 | complet|ion PROC|
|00001100| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+